import React, { Component } from 'react'
import {Button} from 'antd'
import '../../static/scss/proManagement/homepage.scss'
import commonConfig from '../../static/js/commonConfig'
import ContentComponent from '../common/contentComponent'

class HomepageAPP extends Component {
    state = {
        letterList: ['全部', 'A',]
    }
    componentWillMount() {
        if (!commonConfig.judgeUserLoginStatus()) {
            commonConfig.redirectPageDefault(this, 'login')
        }
    }

    render() {
        return (
            <>
                <ContentComponent>
                    <div className="homepage_container">
                        <div className="title_list">我是首页 </div>
                        <Button onClick={() => commonConfig.redirectPageDefault(this, 'view/homePage/homeChild2APP')}>二级目录</Button>
                    </div>
                </ContentComponent>
            </>
        )
    }
}

export default HomepageAPP;